a=1
while a<=9:
    b=1
    while b<=a:
        c=a*b
        print(a,"x",b,"=",c,end=('\t'))
        b = b + 1
    print('')
    a=a+1